<?php	
#doc
#	classname:	Connect
#	scope:		PUBLIC
# description: 
# @author: 2011-09-29 - wildmonad
#/doc

class Connect extends CI_Model{
	#	internal variables
	
	public function connect_db(  ) {
		$query = $this->db->get('posts');
		if( $query->num_rows() > 0 ){
      foreach( $query->result() as $row ){
      	//var_dump($row);
      }
    }
					
		//die("marry has a little lamp \n");
	}

}
### end of class Connect



